package com.laf.mall.api.service.impl;

import com.laf.mall.api.dao.RewardDao;
import com.laf.mall.api.dao.SettingsDao;
import com.laf.mall.api.dto.Reward;
import com.laf.mall.api.service.RewardService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ygl
 * @create 2018-12-24
 * @DESCRIPTION
 **/
@Slf4j
@Service
public class RewardServiceImpl implements RewardService {


    @Autowired
    RewardDao rewardDao;

    @Override
    public Reward getValidCouponByRegister() {
        return rewardDao.getValidCouponByRegister();
    }
}
